package com.cdty.chess.service;

import com.fasterxml.jackson.databind.JsonNode;
import org.springframework.web.socket.WebSocketSession;

public interface WebSocketEventHandler {
    String getEventType();
    void handleEvent(WebSocketSession session, JsonNode data) throws Exception;
}